﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XYX.Http.Mvc
{
    /// <summary>
    /// 参数特性约束
    /// </summary>
    public interface IParameterAttribute
    {
        /// <summary>
        /// 执行之前
        /// </summary>
        /// <param name="context"></param>
        /// <param name="parameter"></param>
        /// <returns></returns>
        Task BeforeRequest(RouteData context, ParameterDescriptor parameter);
    }
}
